package com.ccys.db.entity;

import com.ccys.db.rely.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import javax.persistence.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
* Created by Mybatis Generator on 2024/03/07
 * https://dependant.whitecoat.global/
 * 查找emp的邮箱后缀为@GIC的，然后通过设置的promo_automated的规则给dependenct的邮箱账号添加promocode_member，dependent账号必须是已经存在的数据
*/
@Data
@Table(name = "tbl_employee_dependant")
@NoArgsConstructor
@AllArgsConstructor
public class TblEmployeeDependant extends BaseEntity {
    @Column(name = "employee_id")
    private String employeeId;

    @Column(name = "dependant_id")
    private String dependantId;

    private Integer relationship;

    /**
     * -1,0,1 todo 
     */
    @ApiModelProperty("-1,0,1 todo ")
    private Integer status;

    @Column(name = "company_name")
    private String companyName;

    @Column(name = "employee_name")
    private String employeeName;

    @Column(name = "employee_email")
    private String employeeEmail;

    @Column(name = "dependant_name")
    private String dependantName;

    @Column(name = "dependant_email")
    private String dependantEmail;
}